clear	
cd "${tmp}"
	fs bicrn_*_nafcom.dta
	append using `r(files)'
	keep siren naf*
	replace naf = nafrev2 if mi(naf)
	drop nafrev2
	bys siren: egen naf_rev1 = mode(naf) if strlen(naf) == 4, minmode
	bys siren: egen naf_rev2 = mode(naf) if strlen(naf) == 5, minmode
	bys siren (naf_rev1): replace naf_rev1 = naf_rev1[_N]
	bys siren (naf_rev2): replace naf_rev2 = naf_rev2[_N]
	keep siren naf_rev?
	gduplicates drop
	compress
save "${data}/Utils/Siren_NAF_rev12_bicrn", replace